@font-face {
    font-family: alimama;
    src: url('../fonts/AlimamaFangYuanTiVF-Thin.ttf');
}

body {
    font-family: 'alimama';
}

.kllxs-form {
    padding: 20px;
}

.layui-table-view .layui-form-radio {
    line-height: normal;
}

.layui-input, .layui-select, .layui-textarea {
    max-height: 100%;
}

.lazyimg {
    display: block;
    height: 100%;
}

.kl-table-img {
    max-width: 100%;
    max-height: 100%;
}

.attribute_list {
    display: inline-flex;
    max-width: 100%;
    max-height: 122px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;
}

.attribute_list .box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d2d2d2;
    margin: 10px;
    padding: 10px;
    position: relative;
}

.attribute_list .box img {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.attribute_list .box>a {
    position: absolute;
    top: 0;
    right: 0;
}

.attribute_list .box>a i {
    font-size: 20px;
    color: red;
}

.attribute_layer .ls {
    height: 150px;
}

.attribute_layer .ls p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.attribute_layer .img {
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
}

.attribute_layer .img:hover {
    border-color: #ccc;
    cursor: pointer;
}

.attribute_box .layui-input-wrap {
    width: 100%;
}

.layui-layer-page {
    max-width: 100% !important;
    max-height: 100% !important;
}

.attribute_layer img {
    max-width: 100%;
    max-height: 100%;
}

/** 富文本编辑器 **/
.layui-layedit, .layui-layedit-tool {
    border-color: #eee;
}

.layui-layedit {
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
}

.layui-layedit-tool {
    padding: 3px 5px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-size: 0;
}

.layedit-tool-fixed {
    position: fixed;
    top: 0;
    border-top: 1px solid #eee;
}

.layui-layedit-tool .layedit-tool-mid,
.layui-layedit-tool .layui-icon {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
}

.layui-layedit-tool .layui-icon {
    position: relative;
    width: 32px;
    height: 30px;
    line-height: 30px;
    margin: 3px 5px;
    border-radius: 2px;
    color: #777;
    cursor: pointer;
    border-radius: 2px;
}

.layui-layedit-tool .layui-icon:hover {
    color: #393D49;
}

.layui-layedit-tool .layui-icon:active {
    color: #000;
}

.layui-layedit-tool .layedit-tool-active {
    background-color: #eee;
    color: #000;
}

.layui-layedit-tool .layui-disabled,
.layui-layedit-tool .layui-disabled:hover {
    color: #d2d2d2;
    cursor: not-allowed;
}

.layui-layedit-tool .layedit-tool-mid {
    width: 1px;
    height: 18px;
    margin: 0 10px;
    background-color: #d2d2d2;
}

.layedit-tool-html {
    width: 50px !important;
    font-size: 30px !important;
}

.layedit-tool-b,
.layedit-tool-code,
.layedit-tool-help {
    font-size: 16px !important;
}

.layedit-tool-d,
.layedit-tool-unlink,
.layedit-tool-face,
.layedit-tool-image {
    font-size: 18px !important;
}

.layedit-tool-image input {
    position: absolute;
    font-size: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.01;
    filter: Alpha(opacity=1);
    cursor: pointer;
}

.layui-layedit-iframe iframe {
    display: block;
    width: 100%;
}

#LAY_layedit_code {
    overflow: hidden;
}

.layui-layer:has(#LAY_layedit_code) {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.layui-layer:has(#LAY_layedit_image) {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}